/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.gt.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.gt.entity.GtTrain;
import com.thinkgem.jeesite.modules.gt.dao.GtTrainDao;

/**
 * 技术培训信息Service
 * @author zad
 * @version 2018-03-26
 */
@Service
@Transactional(readOnly = true)
public class GtTrainService extends CrudService<GtTrainDao, GtTrain> {

	public GtTrain get(String id) {
		return super.get(id);
	}
	
	public List<GtTrain> findList(GtTrain gtTrain) {
		return super.findList(gtTrain);
	}
	
	public Page<GtTrain> findPage(Page<GtTrain> page, GtTrain gtTrain) {
		return super.findPage(page, gtTrain);
	}
	
	@Transactional(readOnly = false)
	public void save(GtTrain gtTrain) {
		super.save(gtTrain);
	}
	
	@Transactional(readOnly = false)
	public void delete(GtTrain gtTrain) {
		super.delete(gtTrain);
	}
	
}